update show line number for error infos