make sure global variables removed when reparsing the entry file