Fixed redis db initialization