Added line numbers to errors