fix sequence issue.