fixed db errors caused by wrong table col names