fixed preferred_package