change page output format; other change and fixes