check instance correctly