Work better with corrupted db