wip
fixed db setup (hopefully)