empty db fix