fixup errors and format in shm.md