bug: first page is not parsed