fix creation of ResponseBuffer