Change line type to Text in case of no match