fixing bug with home page