fixed issues with Graph::clean being called as a non-static member