removing after and before tags