polishing the output of aligner