small fix for local drag and drop