When I was troubleshooting my fuel gauge, I found that when the gauge sensor wire was grounded, the fuel gauge was pegged to full. You might want to check continuity between your sensor wire and ground.
Here is the thread from my ordeal:
Need help with gas gauge