fix in memcache class