fix yum ver3.0 issues