Fix 500 error at root page