filter out bad alignments