fixed bug that setting page is error