fixed a homepage bug