Fix response codes