fix unsharedemo.c