fixing bug, active delegates were not being correctly retrieved