attempt to fix statement_seq problem