change swap dir configuration place.