removes trailing dot from path output