r1625 bugfix restart by time