fix for scripts when clicked in combobox (null pointer)