fixes home redirect