Thank you for your answer!
Your solution works for me aswell. This is strange because even when the array is initialized with the set method (which is mendetory for what I am trying to do) it gets referenced correctly only by the main_manager… I am curios what you can find out about this.