add tbox init count
rebuild memory
fix native memory bug