fixed bugs on homescreen