arrange the directory