Fixed the bug with non-working settings.