fixed one piece of code to decrease number running