Fixed panelSelector var definition