I’m pretty sure that onion did not cook 5 hours. Just cook it 5 hours and the plastic will go away.