fix #8 : the drag and drop didn't work correctly