fix compressed sequence