get text correctly