fix bug 'bad response status'