Fixed Bug: Could not save a new tag unless tgs were not empty