commit before website terminate