bug fixes for the sequence recognizer.
Merge branch 'master' of https://github.com/furylynx/MAE

bug fixes for the sequence recognizer.