Fix for setting page problem.