fixed the bugfix in maximal_cliques template