fix int bug in mask change by dermen