fix graph