fixed bug; added <figure> instead of <gap> to tokenStack