fix invalid HTTP response in listing return