solved http 400 bad request error