fixed save dusration compilation error