fix bug on drop