repair a bug in picking module