fixed homepage bug