prepare for tags