added object inspect check