fix to POS for windows