fix the package ordering