better detecting of multiple line type info