fix memory tracking error in new pool allocation scheme