Fixed the bug of overriding method in edit distance alignment, 2nd version of introducing topics.