correct styles of pages