fix status variable name clashes