Fix setting redis conneciton variable