corrected variable name and override negotiation