Loop item is always undefined - BuildShip