tidy some output