fix bug in processor extraction