fix for set_advanced()