Fixed undefined this error in runner