catch empty XXXX: commands in graph