made a simple cursor fix