added append_if_no_such_line