fix #22 (immutable duration bug)