bugfix: all fixes to ttl value were lost
Merge pull request #5 from mchinni/master

bugfix: all fixes to ttl value were lost