use safe_load (thanks @jerith)
prime Redis instead of patching (thanks @jerith)