gth: small improvements