fixed problem with renamed delegate