limit history, clean up module