fix error in processor