fix ttl parsing, remove debug commands