processBlock repaired