fixed database init.  Happy happy happy