improve improt_rep error message