fix sequence calling