Added missing assignment for delegate