Fix yum and api