fixing graphs