fix write_mem path