fixed typo causing wrong id to be logged upon process cancelation