fix delegate for 2.4