fix bug in unlinking shmem segment