Fix bug on home page