Fix a bug in drop()