fixed drag and drop syntax error