Change status code for bad location.