fix reload watchconfig execute external script error