You do not need to connect to hidden network by modifying the UCI.
After scan go to the bottom of the list and choose others, then you will be able to type ssid manually.