fix gt+1, fix incorrect max on last in chart