Fixing an error in the change method.