fix a couple of small bugs in sub* aligner scripts