fix ta (undefined, not null)