replace redis variable jumping with a wrapper.