removes cursor setup