Fix 404 error when page is not specified