fixed 'undefined variable' error in the header'
fixed 'undefined variable' error in the header'