new support of callback in onerror, previous at continuous process