reverted cursor changes