simplify duration if empty

see issue #51