fix error line bug