fixed bug in as1997 and re-arranged to let the bug show up
Merge pull request #202 from monellid/fix-as1997

fixed bug in as1997 and re-arranged data to let the bug showing up