fix settings page's bug