fixed db errors (had two conflicting schemas)