quickly patching a nil history bug in the dashboard - better fix later