when shared string map were wrong when there were empty strings