clean end hopefully