cleaning up case within case finally