Revert "make the history lib actually work"

This reverts commit e3cdc736fc25d7a713827f5cbe20d5f692613ff8.