catch pack error