solved issues around adressing by reference instead of internal id