fixed db issue - switched to pg