making sure everything is committed