More fixes for encoding on page score