Fixed close POS error