fix rest bug; inc or dec number of cursors