last fix for tag validation