setting page and dir page bug fixed