change with whole grad
 fixbug
 fixbug