packages order fix