instanceof fix