fixed bugs for output 'runLoader'