fix status code changes