Fixed shmopKey bug