fix draggable and add append