fixing delegates