fix redis counter