fix check for tl nullness in translate