default duration from last save
improve config parsing