change default status code to 400.