resolve the sub2 lines issue