revise the order of package