fixed inverted graph