redis and timging fixes