fix for batch params not sending correctly