fixed major typeconverter bug