Fix error on drop.