encoding: fixing page processing