[cvz] fixing things with mask on input