add dir choose table and view