delete unused code, fix bug with set values in picker.