Fixing some stuff in TAallocation