fix 3.0 release error

click the exit button on 3.0 demo will show error,this fix it