fix alloc.init vs new issues