fixed bug of allocator in single thread