fixed the logic behind yumf/yumq