Handle empty db