set view dirname