[FIX]Fixed some traceback in point of sale