checko ptr when invoke NotifyChange