fix config.app.pgUrl not found bug