Redirect Error: Cannot redirect to 404 because it's not registered