fix error on HomeView