Tag imide formation mechanism