clean up cursor a bit