fix database and add database initialize data