remove unnecessary tags with clean to factory