fix misplaced order