fixed a bug in A8Parser