Don't use global variable in ParerStateReset
Update misleading comment