add Type.hashCode(); fix non zero padding bytes in switch error because of non-zeroed realloc