small fix for the duration module
this is a good state, i think :$
code cleanup