fix mistype for $map