fix api batch && and fix params