added line number to error