Duhhh fixed another context issue with pg var