minor changes in submit foods - still not working correctly. TODOs
written