fix no content response handling