commit in case of power outage