exception status code bugfix