Fix closed path