fixed problematic bugs in align module and for ipa2tokens-function"