Fix order of bindings in batch