handle uri encoded pages