fix next_run