clean up Path classes