Fix DB setup error

see #46