Fixed double-run error