add external loggf in run_width9