refine parse sequence