fixing graphs and params