Fix problem with setting page