Fixed the StackAllocator