Fix bug in homepage