make xgcombine buffer work