Added comma stripping method for tags