fixed database missing lines