www: fix tree directory issues