fixed errors that were causing bulk import tests to fail