[SafeTag] updated function.