Set status code for 404