changed lower case references to upper

trying to resolve PG issues