Fix error location, import data and report process