fix perrmission denied error on remote connector