fixed batch upload