fixed text annotation bug