issue #37, added check if no tags exist