minor refactorings.
fixed yumCmd