fixing height bug on windows