diff --git a/buildout/instance-profiles/memcached.cfg b/buildout/instance-profiles/memcached.cfg
index 33ab5fa507a5fab0ccb487dd8f376cac3fd2fc9a..d5902f8418e5c319ee12f3cb12372cdd310f4028 100644
--- a/buildout/instance-profiles/memcached.cfg
+++ b/buildout/instance-profiles/memcached.cfg
@@ -9,7 +9,7 @@ recipe = erp5.recipe.memcachedserver
 memcached_software_bin = ${software_definition:software_home}/parts/memcached/bin
 memcached_bin_folder = ${buildout:data-bin-directory}
 memcached_conf_file = ${buildout:etc-directory}/memcached.conf
-memcached_home = ${software_definition:software_home}/var/memcached
+instancehome = ${software_definition:software_home}/var/memcached
 
 # Configuration goes here
 # -p
@@ -27,7 +27,7 @@ memcached_user = erp5
 # -d
 memcached_run_as_daemon = true
 # -P
-memcached_pid_file = ${software_definition:software_home}/var/memcached/memcached.pid
+memcached_pid_file = ${:instancehome}/memcached.pid
 # -f
 memcached_factor = 1.25
 # -n