fix syntax error in redis module.