Fix modifying str