my nephew got lucky im not his dad

Ran out a couple of times in my Duster when I was a kid. Fuel gauge would go to half, and then drop to empty. After the second time, I took it back to the dealership, and had them fix it. (Under warranty)

what was the problem? that is exactly what the one in my dart does.