try and use .replace instead of overwriting the value