fixed generic copy:mask bug