compatibility fix for updated typestring