fix graph regression