Fixed a bug when creating tiers