fixed new signal viewer code.