fix issue with empty protection tag and strip value - remove spaces