Fix can't modify frozen string error