remove db proxy code