add warning when appframework is disabled