bugfix: all fixes to ttl value were lost