throws error when uniform cannot be aquired