fix variable name issue