use correct http error codes