Fix empty db