small bug fixes on settings page