Fix non-ttl case
Merge pull request #45 from sheldonh/fix_no_ttl

Fix non-ttl case