fixed array/redis problems