Fixed bug in homepage