cleanup up output