fixed "zero lines" bug