fix: update malloc of memzone