fixed response code issue