fix slave.sh