fix the bug occured when change the visualization view