I put a new battery on and the bike started more or less straight away but petrol poured from the 'T' part that connects to the bottom of the carbs from the large bore fuel pipe

Do I need to replace the whole 'T' part or is there an 'O' ring inside.
Thanks.