Altering lid works but is not persistent