fixed no restart from pause