Improve dot output