fix bug in drop