fix to redis stuff