more  preparation before database import