fixed glitch with windows