fix async sendResponse