manual cleanup of clustering lecture