fix passing PIDs to kill(); add pids command