Fix element sequence