fixed bc in LdG. added GBBatch