commit before switching to direct mode