Fixed error in map value access