fix page setting.