fix error in align function that doesn't run with recent exonerate