Fix bug with empty body response