fix for lack of instance indexing