fix redis url and last hash