cleanup logging calls