Fix database initilizer problem