solved bug in marked tags