Fixed a problem with epsilon, and type-checked duration