fix shm/: to insert literally inside patterns