Fixed error in settings