fixed CompViewer.lua