adjust dir content