Fix Redis save and get functions