trying to fix redis bug