fix broken memcache template stuff