fix latest yum upgrade compatible bug