Hopefully fix the pg problem