fixed another delegate bug