Batch gd was fixed