cursor type bug #147