page index merge fix and style changes