fix bug of pages_path