fixed problem with thick lines