fixing a little on sfcgraph builder and grammar