add default param
for shm check