attempted clear_order fix