replace path and remvoe memcached