fix graph display