limit history output