daos sql syntax problem. food data was not being added to db because of a if condition mistake. fixed