fixed bugs venta/ctp