fix bug of the ghost line in the back