commit before laptop switch