fixed wrong response code