clean up case