bugfix of popTag method.