fix: inspect-method will be infinite loop if variable is circular reference.