cursor will not get stuck