redis bug fixes and enhancements