Fixed return values for response codes