Fixed ttl and added some more debugging info