Fixed a bug on the homepage