fix a bug of mixname of a variable