fixed bugs in system venta