Fix a bug inside function get_info_line