correcting checks for settings