fixed empty db entry