[fix] use type(t) is X