fixed redis error
Merge pull request #52 from tomdepplito/fix_redis_error

fixed redis error