Add last error processing