fixed problem with naked edges