fixed picking code error and encode