fixes to avoid PG configuration