pg issues
works in dev.