fixed db schema