fixing db import issues