db errors resolved