fix for map types