fixing minor bug in tag definition