Fix delegate target not found error