page optimization and correction