fix import for empty records