replaced int in mapping dimension to str