added some error line support