fixed n+1 query problem for posts foods