Remove redundant code in TypeConverter

this code does literally nothing, but reduces the performance greatly