fixed bugs in two redis methods