Fixed error line numbers