linestyle cleanup
put linestyle patch in proper dir