remove cursor from typed