fixed an issue in which an invalid redis operation may occur