change mutable param, suggestion made by PyCharm