added the check shared memory

even though there is no check server at the beginning