Fix frontend page displaying