add line width for different cases