Fix homepage bugs