corrected a wrong ling in view_error in import