fixes naming mistakes between instance variables passed locally to partials