Welding Near Gas Tank?

In confined area like a cab, i would likely remove fuel tank. i did cab corners on an f250 last week, box was off and filler neck was right beside my head as i was welding.i bagged the open filler neck and covered it with a wet towel. Could smell fumes while i was welding.hard on the nerves..