PosTerminalRepository debugged