fixing home page bug with each loop
Merge pull request #52 from petebrooks/homepage_bug

fixing home page bug with each loop