remove last slash in ADT path