fix double delegate warning