small fix to variable name 'graphic'