major bug of double line fixed