fixed settings page bug