fix delegate