removing wrong tags