fix topleft line bug