fixed bug on homepage