Fix the run() method in Schedule