fix bugs in multiple modules. implement redis store