cleanup of new tag directive