Various tweaks, fix sending views to / when dir doesn't exists