fixed issue with map as str