switched 404 to redirect