Fix #35 unify duration config