fix ammeter not displaying bug