Effects of inhomogeneity on the trasport of underdoped superconductors