fix bug with setting page