corrected a typo and bugfixing in getRunInfo