fix bug when append batch command to remote script file