fixing graphs again