line order fix