fix home page bugs