added a if print if absent infomation
refactor line highlight