Fixed problem on showing variable window