bugfix: StructureMap->map did get cast wrong