fix compiling of Advanced Edition