Bug correction in ui.append_log()