fix: bug in restart acceleration.