Bug on generating children pages in root folder