Redis, missing variable definition