finally fixed homepage bug