renamed local variable in NameError rendering block