adjust graph input