better handling of blank graph submissions