Fixed run time error.