support instanceof at premitive type