fix sequence