fix magnifier issue