fixing time restart