tried to fix graph