fix wrong path
drop unused tables
simplify pg-merge-db