Fixed bug with supply graph