fixed bug with regards to dual redis connections