return correct status code