adjust sequence of last_run.success ref, grammer