fix reader and add pages