fixed bug in sce_graph_generator, load_profile_functional