init process of empty database fixed