added check to make sure there are tags configured