remove redundant line num processing, add license