fixed text selection issue