fixes package order