clean up mapping when complete