working copy - multiple pages bug fixed