fix line No in error message

should be 1 origin