fix self.amount in POS plugin