improved redis storage to prevent possible collisions