set history

* default is 20, 50 is better