change exception when profiles array is too big