bug fix in remote file handling