fix advsettings creation