fixed if statement for 'runs' and 'run'