attempt to fix postgres sync db