fixing graphs a little bit