Workaround the allocate