fixed bugs with home page