BUGFIX: fix the instance-attribute api call