remove mutating an immutable hack