fix variable name problem