fix focus demo's bug