Fix redis initiation