fixes home page bug