alloc fix and variadic arglist support