drop: fix bugs and add dynamicDrop options