fixing grad on two lines