everything working except it goes to another page besides the homepage