fix a wrong typed var name