Fix can't modify frozen Hash error