gas gauge

So I put in my instrument cluster and all gauges work but my gas needle moves along around from full to empty when I drive it could the gauge be faulty