fixed error message line number