tags delete if not in setTags now just need to make templates work