bugfixes and instID field retrieval addition