fix getSubType test