AFP: fix loadsettings