Sometimes I get the case that the notebook retain old deļ¬nitions and symbols even after I deleted them from the notebook. This happened when I was using a Demonstration stylesheet and had an separate initilization cell, and had added SaveDefinitions->True in the Manipulate cell.
To make sure the notebook clears any old symbols, enter this command in the notebook once
SetOptions[EvaluationNotebook[], PrivateNotebookOptions -> {"FileContents" -> {"NotebookData"}, "FileOutlineCache" -> False}]
In addition, I change the preferences like this: