fix validation for activerecord-import