change cursor direct return