fix mem_cpu path