fixed homepage errors