did some things for text manager