cleanup line seach abit