Fixed a bug with tags in old api