fixed reported error line and col number
update py