bug fix, graph better handle empty data field