processing error end bug fixed