add error process lib