Fix page score encoding issue