add redis and fix things