Fix redis and brain storage