trying to fix graph