minor stupid bug fixed in removeTags