fix search line number guessing