fix variable name conflict