Fix bug displaying directory title