use calloc_a for interface error allocations