fix a zoom bug