fixed bug with kill_process.sh