ENH: picking value works, few bugs needs to be corrected