Bugfixes for gensettings