remove tags from output messages