Using tuples instead of a simple Dictionary to hold the data. At time the allocatedData is set to null. Fixed.