fixed error in typetostringconverter for imported types