fix for localised input in windows