bug fixes in string helpers when dealing with string enum fields