fixed feed sql to pull better results