this fixes a bug related to empty replies (empty body).