fix for add batch

might not be complete. checking to see if tests pass...