remove tags from title when writing it