fix bug in Viewer