fix for ssh-submit