updated error line and docs accordingly