Admiral replacement bug?


This image was taken when i tried to replace a fallen admiral, it says i cant recruit the rightmost one as I have "missing resources". I have both enough money and room to buy a battle barge Mk 1 or Mk 2.
Is there something i am missing or is it actually a bug?

@zemone Is there enough room in the local shipyards to produce a new BB? I assume you meant you had enough room in your fleet.

@Merlin-Atwares Yeah there was, I solved it deleting a ship from the fleet, recruiting the admiral and then rebuilding the ship I destroyed. Seems like the bug is related to the fleet size.