Bug fixed about removing duplicated alignments