fixing nefarious db issue