Fix reset and counter max formatting