bug fix in previous commit for rendergraph