commit before switch branch