fixed instance check