corrected wrong line deletion
corrected slot name
changed imageMap from unorderered_map to map