safen and clean up tag flags