removing scoped tags