ghetto fix for rendering graphs