Fixed crash on Mac.
Added string_hepler