Fix bug #3260 (dynamic/static settings mixed)