fixed bug for code lines