commit before tag insertion