fixed bug in home page