fix bug string.replace in JS doesn’t change object but return new instance =)