fixing the src field of the graphs