strang cursor bug fixed