changed to pg
changed config
fixed a config problem
final