Solve import error reporting issue