Fix delete remote file