fixes settings page bug