fixed a bug with the home page