fix layout of pages, now it is simpler