fixed bug trying to kill process that didn't exist