Thanks for the replies,
it has to be the fuel selector valve, after driving it for a few miles it started acting up again. so I switched to the back tank to find it empty, I pulled into the first station I found and filled up the back tank, but not the front tank, I headed off down the road...