fix string freeze