Revert "convert to zalloc"