Removed bug in settings