Fix a bug in multipickup.