add params to history, fix #15