fixed variable type change during text import bug #58298