trying to solve no selecting of text problem