Were you careful not to bend sending unit float arm?
Any chance there is a bad ground on the tank?
Check the gauge connections...
If this was a new sending unit, send it back as defective, try a new one. If that doesn't solve it, you may have a bad wire or possibly the guage.