fixed refences
fixed another reference
more reference fixes