Fix unexpected modification