fix some minor memcache stuff