refine join sequence