replace illegal char in release string