fix keymirror bug. closes #96