fix drag dock app and plugin

 fix drag dock app and plugin