fixed unexpected response error