fix negative graph thing