Fixed initializing db twice.