fix missorted modifiers